home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000044_news@columbia.edu_Tue Apr 4 04:20:19 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA19934
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 5 Apr 1995 08:49:09 -0400
  3. Received: by apakabar.cc.columbia.edu id AA25389
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 5 Apr 1995 08:49:05 -0400
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!news.cac.psu.edu!psuvm!hdk
  6. Organization: Penn State University
  7. Date: Tue, 4 Apr 1995 08:20:19 EDT
  8. From: H. D. Knoble <HDK@psuvm.psu.edu>
  9. Message-Id: <95094.082019HDK@psuvm.psu.edu>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Capture macro
  12. References: <796463548snz@childsoc.demon.co.uk>
  13.  <3lnbub$q0d@apakabar.cc.columbia.edu>
  14. Lines: 20
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. To CAPTURE VTxxx session (segments) to a file (E.g., VTXXX.LOG),
  18. without the VTxxx escape sequences imbedded, "take" the following
  19. MS-Kermit 3.14 script segment (thanks to Joe D.):
  20.  
  21. ; Log session without Esc codes. Hot key toggle is Ctrl-PrintScreen.
  22. define WarnApnd  Echo Note: Existing Session Log file VTXXX.LOG will, -
  23.                  Echo be appended until it's renamed or erased.\10, -
  24.                  run PAUSE
  25. assign \%u \Fsize(VTXXX.LOG) ; 'set printer' does not like null files.
  26. if equal \%u 0 RUN ERASE VTXXX.LOG ; So erase any zero byte log file.
  27. if exist VTXXX.LOG Do WarnApnd ; Notify about appending if necessary.
  28. set printer VTXXX.LOG ;  ASCII session logging will be to VTXXX.LOG.
  29.  
  30.  
  31. Then after this script has been run, to toggle session logging to
  32. this file on/off, simply press Ctrl-PrintScreen. The resulting
  33. file, VTXXX.LOG in this example, when closed (or MS-Kermit exited)
  34. will contain an ASCII session log (excluding full-screens - E.g.,
  35. VMS EDT screens) without Esc sequences; so (unlike unlike a file
  36. produced with 'log session') this ASCII session log cannot be REPLAYed
  37. of course.